From: Florian Müllner Date: Tue, 25 Jan 2022 19:31:07 +0000 (+0100) Subject: osdWindow: Don't inherit from St.Widget X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~530^2^2~29 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=5135af0750683dd88f4a23f704d162f876632a76;p=gnome-shell.git osdWindow: Don't inherit from St.Widget We don't apply any styling to the toplevel OSD actor, so we can just as well avoid the style machinery and use a plain actor. Part-of: --- diff --git a/js/ui/osdWindow.js b/js/ui/osdWindow.js index bae4b862a..ce33c069c 100644 --- a/js/ui/osdWindow.js +++ b/js/ui/osdWindow.js @@ -42,7 +42,7 @@ class OsdWindowConstraint extends Clutter.Constraint { }); var OsdWindow = GObject.registerClass( -class OsdWindow extends St.Widget { +class OsdWindow extends Clutter.Actor { _init(monitorIndex) { super._init({ x_expand: true,